import request from '@/utils/request'

const API = "/admin/schedule"

export default{
    getScheduleRule(pageNum, pageSize, hoscode, depcode) {
        return request({
        url: `${API}/getScheduleRule/${pageNum}/${pageSize}/${hoscode}/${depcode}`,
        method: 'get'
        })
    },
    getScheduleDetail(hoscode,depcode,workDate) {
        return request({
        url: `${API}/getScheduleDetail/${hoscode}/${depcode}/${workDate}`,
        method: 'get'
        })
    }
       
} 